import Vue from 'vue'
import Router from 'vue-router'
import login from '@/pages/login/index'
import cinema from '@/pages/cinema/index'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/cinema',
      name: 'cinema',
      component: cinema
    }
  ]
})
